FROM java:8
VOLUME /tmp
ADD ./dean-platform.jar /dean-platform.jar
RUN bash -c 'touch /dean-platform.jar'
EXPOSE 8007
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=test","/dean-platform.jar"]